Star schema [fact 1:n dimension]...how?
Posted
by Mike Gates
on Server Fault
See other posts from Server Fault
or by Mike Gates
Published on 2010-05-06T23:17:40Z
Indexed on
2010/05/06
23:29 UTC
Read the original article
Hit count: 351
datawarehouse
|olap
I am a newcomer to data warehouses and have what I hope is an easy question about building a star schema:
If I have a fact table where a fact record naturally has a one-to-many relationship with a single dimension, how can a star schema be modeled to support this? For example:
- Fact Table: Point of Sale entry (the measurement is DollarAmount)
- Dimension Table: Promotions (these are sales promotions in effect when a sale was made)
The situation is that I want a single Point Of Sale entry to be associated with multiple different Promotions. These Promotions cannot be their own dimensions as there are many many many promotions.
How do I do this?
© Server Fault or respective owner